﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace Skin2D.Display
{
    class CoordinateDraw : IDrawCall
    {

        public void OnDraw(System.Drawing.Graphics g)
        {
            Pen pen = Pens.Black;
            int width = DisplayDriver.Get().Width;
            int height = DisplayDriver.Get().Height;

            DisplayDriver.Get().Save();
            DisplayDriver.Get().CameraTransform();

            g.DrawLine(pen, width / 2, 0 -1000, width / 2, height+1000);
            g.DrawLine(pen, 0 - 1000, height / 2, width+1000, height / 2);

            DisplayDriver.Get().Restore();
           
        }
    }
}
